using System;
using System.Collections.Generic;
using System.Text;

namespace KukaDataComCommon
{
    [Serializable]
    public class AxialUniqueness
    {

        #region Eigenschaften

        private Int16 spin;
        public Int16 Spin
        {
            get { return spin; }
            set { spin = value; }
        }

        private Int16 turn;
        public Int16 Turn
        {
            get { return turn; }
            set { turn = value; }
        }

        #endregion

        #region Konstruktor

        public AxialUniqueness()
            :this(2, 2)
        { }

        public AxialUniqueness(AxialUniqueness copy)
            :this(copy.Spin, copy.Turn)
        { }

        public AxialUniqueness(Int16 spin, Int16 turn)
        {
            this.spin = spin;
            this.turn = turn;
        }

        public AxialUniqueness Copy()
        {
            return new AxialUniqueness(this);
        }

        #endregion

        #region overrides

        public override string ToString()
        {
            return "Spin: " + Spin + " Turn: " + Turn;
        }

        #endregion

    }
}
